/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package me.oz.test.api;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Query;

/**
 *
 * @author oz
 */
public interface IEssayService {

    /**
     * @name getEssayList
     * @parameter EssayVo
     * @return Observable<EssayList>
     * @time 16/03/18 15:21
     * @version 1.0
     * @author oz
     * @describe 获取轨迹上所作品
     */
    @GET("essay/getEssayList")
    Call<ResponseBody> getEssayList(
            @Header("userid") String myid,
            @Query("userid") int userid,
            @Query("trackid") int trackid);

    @GET("essay/getEssayDetail")
    Call<ResponseBody> getEssayDetail(
            @Header("userid") String myid
    );

    @GET("essay/toComment2")
    Call<ResponseBody> toComment(
            @Header("userid") String myid,
            @Query("json") String json
    );

    @GET("essay/getEssayCommentList")
    Call<ResponseBody> getEssayCommentList();

    @GET("essay/removeMediaFile")
    Call<ResponseBody> removeMediaFile();

}
